const path = require('path')

function resolve(dir) {
  return path.join(__dirname, dir)
}

module.exports = {
  publicPath: './',
  outputDir: 'dist',
  assetsDir: 'static',
  lintOnSave: false,
  configureWebpack: config => {
    return {
      resolve: {
        alias: {
          '@': resolve('src')
        }
      },
    }
  },
}